home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / program / srcbkvt.zip / 20_20_4.ZIP / VMON.PAS < prev    next >
Pascal/Delphi Source File  |  1996-03-21  |  597b  |  38 lines

  1. unit vmon;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls, ExtCtrls, shdmem;
  8.  
  9. type
  10.   TForm1 = class(TForm)
  11.     SharedMemory: TShareMem;
  12.     Timer1: TTimer;
  13.     CurrentKey: TEdit;
  14.     Label1: TLabel;
  15.     procedure Timer1Timer(Sender: TObject);
  16.   private
  17.     { Private declarations }
  18.   public
  19.     { Public declarations }
  20.   end;
  21.  
  22. var
  23.   Form1: TForm1;
  24.  
  25. implementation
  26.  
  27. {$R *.DFM}
  28.  
  29. procedure TForm1.Timer1Timer(Sender: TObject);
  30. var
  31.  s : String;
  32. begin
  33.  SharedMemory.Rcl(0,s);
  34.  CurrentKey.Text:=s;
  35. end;
  36.  
  37. end.
  38.